//
//  ClassifySecData.m
//  FLLGodOfCooking
//
//  Created by LL.F on 16/09/07
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "ClassifySecData.h"
#import "ClassifyThirdData.h"

@implementation ClassifySecData

+ (NSDictionary *)objectClassInArray{
    return @{@"data" : [ClassifyThirdData class]};
}
- (void)setValue:(id)value forKey:(NSString *)key
{
    
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        NSMutableArray<ClassifyThirdData *>  *classifyThirdDataArray = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            ClassifyThirdData *classifyDic = [ClassifyThirdData modelWithDic:dic];
            [classifyThirdDataArray addObject:classifyDic];
        }
        _data = classifyThirdDataArray;
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        _id_Data = value;
    }
}
@end
